SeQuiz::Application.routes.draw do
  root :to => "welcome#index"
  
  match '/canvas' => 'welcome#canvas', :as => :canvas
  
  resources :pages, :only => [:show]
  resources :questions, :only => [:index, :create]
  resources :people, :only => [:index]

  devise_for :users
  
  namespace :manage do 
    resources :questions
    resources :people
  end
end
